home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / UPDPROV.MF_ / updprov.mfl
Encoding:
Text File  |  2003-02-21  |  13.3 KB  |  109 lines

  1.  ■// Copyright (c) 1997-2003 Microsoft Corporation, All Rights Reserved
  2. #pragma autorecover
  3. #pragma namespace ("\\\\.\\root\\subscription")
  4. instance of __namespace{ name="ms_409";};
  5. #pragma namespace("ms_409")
  6. [AMENDMENT, LOCALE(0x409)] 
  7. class MSFT_UpdatingConsumer : __EventConsumer
  8. {
  9.   [Key,Description("String uniquely identifying this consumer.") : Amended] string Id;
  10.   [Description("The user-readable name for this consumer.") : Amended] string Name;
  11.   [Description("The name of the scenario that this consumer is associated with.") : Amended] string Scenario;
  12.   [Description("Optional string specifying the namespace where the data query is to be performed.") : Amended] string DataNamespace;
  13.   [Description("Optional string specifying the namespace where the update is to be performed.") : Amended] string UpdateNamespace;
  14.   [Description("Optional string array containing the data queries to execute to obtain input for the associated update commands.  A data query and an update command are associated when they have the same index in their respective arrays.") : Amended] string DataQueries[];
  15.   [Description("Optional array of flags permitting the user to specify additional semantics for associated INSERT commands. Flags are ignored for DELETE and UPDATE commands. A flag and an update command are associated when they have the same index in their respective arrays.") : Amended] uint32 Flags[];
  16.   [Description("An array of UQL statements to be executed when theconsumer is executed.  This property can be NULL specifying this Updating Consumer is a NoOp.") : Amended] string Commands[];
  17. };
  18. [Description("An instance of this class represents a logical grouping of updating consumers and instances of correlation state.") : Amended,AMENDMENT, LOCALE(0x409)] 
  19. class MSFT_UCScenario
  20. {
  21.   [Key,Description("String uniquely identifying the scenario.") : Amended] string Id;
  22.   [Key,Description("The user-readable name for this scenario.") : Amended] string Name;
  23. };
  24. [Description("Base class for all event classes where instances will be signaled by the Updating Consumer Provider.") : Amended,AMENDMENT, LOCALE(0x409)] 
  25. class MSFT_UCEventBase : __ExtrinsicEvent
  26. {
  27. };
  28. [Description("Base class for all UC tracing event classes.") : Amended,AMENDMENT, LOCALE(0x409)] 
  29. class MSFT_UCTraceEventBase : __ExtrinsicEvent
  30. {
  31.   [Description("Instance of the updating consumer that is being executed.") : Amended] MSFT_UpdatingConsumer Consumer;
  32.   [Description("A unique id representing the execution of an updating consumer.  This id permits correlation of all the trace events associated with an execution of the consumer.") : Amended] string ExecutionId;
  33.   [Description("String giving any extra information about the error.") : Amended] string ErrorStr;
  34.   [Description("The index of the command the trace event is associated with.  The value of this property can be NULL if the there is no associated command.") : Amended] uint32 CommandIndex;
  35.   [Description("The status code representing the outcome of the action the trace event is associated with.") : Amended] uint32 StatusCode;
  36.   [Description("The event that triggered this updating consumer to be executed.") : Amended] __Event Event;
  37. };
  38. [Description("Represents an execution of the updating consumer. There is exactly one of these events signaled each time an event triggers an updating consumer to be executed.") : Amended,AMENDMENT, LOCALE(0x409)] 
  39. class MSFT_UCExecutedTraceEvent : MSFT_UCTraceEventBase
  40. {
  41. };
  42. [Description("Represents the execution of a command of the updating consumer.") : Amended,AMENDMENT, LOCALE(0x409)] 
  43. class MSFT_UCCommandTraceEvent : MSFT_UCTraceEventBase
  44. {
  45.   [Description("The data object used as input to the command.  This object belongs to the result set obtained from the execution of the data query associated with the command.") : Amended] object Data;
  46. };
  47. [Description("Represents the execution of an INSERT command of the updating consumer.") : Amended,AMENDMENT, LOCALE(0x409)] 
  48. class MSFT_UCInsertCommandTraceEvent : MSFT_UCCommandTraceEvent
  49. {
  50. };
  51. [Description("Represents the execution of an UPDATE command of the updating consumer.") : Amended,AMENDMENT, LOCALE(0x409)] 
  52. class MSFT_UCUpdateCommandTraceEvent : MSFT_UCCommandTraceEvent
  53. {
  54. };
  55. [Description("Represents the execution of an DELETE command of the updating consumer.") : Amended,AMENDMENT, LOCALE(0x409)] 
  56. class MSFT_UCDeleteCommandTraceEvent : MSFT_UCCommandTraceEvent
  57. {
  58. };
  59. [Description("Represents the altering of an instance by the updating consumer when executing a command.") : Amended,AMENDMENT, LOCALE(0x409)] 
  60. class MSFT_UCInstanceTraceEvent : MSFT_UCTraceEventBase
  61. {
  62.   [Description("The data object used as input to the command.  This object belongs to the result set obtained from the execution of the data query associated with the command.") : Amended] object Data;
  63.   [Description("The instance that the altering operation is applied to.") : Amended] object Inst;
  64. };
  65. [Description("Represents the insertion of an instance by the updating consumer when executing a command.") : Amended,AMENDMENT, LOCALE(0x409)] 
  66. class MSFT_UCInsertInstanceTraceEvent : MSFT_UCInstanceTraceEvent
  67. {
  68. };
  69. [Description("Represents the deletion of an instance by the updating consumer when executing a command.") : Amended,AMENDMENT, LOCALE(0x409)] 
  70. class MSFT_UCDeleteInstanceTraceEvent : MSFT_UCInstanceTraceEvent
  71. {
  72. };
  73. [Description("Represents the modification of an instance by the updating consumer when executing a command.") : Amended,AMENDMENT, LOCALE(0x409)] 
  74. class MSFT_UCUpdateInstanceTraceEvent : MSFT_UCInstanceTraceEvent
  75. {
  76.   [Description("The instance before the modification is made.") : Amended] object OriginalInst;
  77. };
  78. [Description("An instance of this class defines the association between a set of instances modified by updating consumers and the scenario the consumers belong to.") : Amended,AMENDMENT, LOCALE(0x409)] 
  79. class MSFT_UCScenarioAssociationInfo
  80. {
  81.   [Key,Description("A string uniquely identifying this object.") : Amended] string Id;
  82.   [Description("The user-readable name for this object.") : Amended] string Name;
  83.   [Description("The name of the scenario to associate the set of instances to.") : Amended] string Scenario;
  84.   [Description("The query selecting the set of instances to associate to the scenario.") : Amended] string Query;
  85. };
  86. [Description("Associates a scenario object to an object modified by updating consumers belonging to the scenario.") : Amended,AMENDMENT, LOCALE(0x409)] 
  87. class MSFT_UCScenarioAssociation
  88. {
  89.   [Key,Description("The reference to the scenario object.") : Amended] MSFT_UCScenario Ref Scenario;
  90.   [Key,Description("The reference to the instance object.") : Amended] object Ref Object;
  91. };